package com.example.voting_master.constant;

public interface RedisConstant {

    //实体模型存储
    String CandidateModel = "candidate:model:";

    String ThemeModel = "theme:model:";

    //投票记录key值拼接
    String Candidate = "candidate:";

    String Theme = "theme:";

    String User = "user:";

    String Votes = "votes:";

    String Visits = "visits:";
    String UserVoteLog = "vote:userVoteLog:";

    String LogWaitingInsertDB = "vote:logWaitingInsertDB";

    String ThemeMaxChooseCandidates = "theme:maxChooseCandidates:";
}
